package com.example.mybatismappingtest.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mybatismappingtest.domain.WsTest;
import com.example.mybatismappingtest.mapper.WsTestMapper;
import org.apache.ibatis.annotations.ResultMap;
import org.springframework.stereotype.Service;

import java.io.Serializable;

@Service
public class WsTestService extends ServiceImpl<WsTestMapper, WsTest> {

    @Override
    @ResultMap("BaseResultMap")
    public WsTest getById(Serializable id) {
        return super.getById(id);
    }
}
